package com.example.kingdee.KingdeeCreate;

import com.example.kingdee.KingdeeCreate.dto.CreateInDto;
import com.example.kingdee.kingdeeBridge.common.RequestResult;
import com.example.kingdee.kingdeeBridge.dto.BillWriteInDto;

import java.util.Map;

public interface CreateBill {
    //前置操作
    void preposition(CreateInDto createInDto);

    //创建目标单据
    RequestResult createSrcBill(CreateInDto createInDto);
    //提交审核目标单据
    void auditTargetBill(String billNo);
    //后置操作
    void postPosition(RequestResult srcBill, CreateInDto createInDto);
    //删除目标单据
    void deleteTargetBill(String fid);
}
